<?php

/*

Script qui test la connexion aux BDD


*/

require_once $_SERVER['rootadmin']."/classes/ConnectToBD_cmix.class.php";
require_once $_SERVER['rootadmin']."/classes/ConnectToBD_tc.class.php";

$db_ok = true;
$cmix = true;
$tc = true;


if(!ConnectToBd_cmix::connexion()){
	$cmix = false;
	}
if(!ConnectToBD_tc::connexion()){
	$tc = false;
	}
$db_ok = $cmix && $tc;
?>